##
## Makefile for mysh in /home/nadali_t//local/svn/tek2ed/minishell1
## 
## Made by thomas nadalie
## Login   <nadali_t@epitech.net>
## 
## Started on  Thu Nov  8 12:23:30 2012 thomas nadalie
## Last update Thu Nov  8 12:24:34 2012 thomas nadalie
##

NAME=   mysh

SRC=    main.c \
	my_str_to_wordtab.c \
	my_path_to_wordtab.c \
	basics.c \
	basics2.c \
	basics3.c \
	exec.c \
	make_env.c \
	epur_str.c \
	my_prompt.c \
	env.c \
	exit.c \
	builtins.c

OBJ=    $(SRC:.c=.o)

LB =    -L.

RM=     rm -f

CFLAGS= -g -Wall

all:    $(NAME)

$(NAME):        $(OBJ)
	cc -o $(NAME) $(OBJ) $(LB)
clean:
	$(RM) *~
	$(RM) *.o
	$(RM) *#

fclean: clean
	$(RM) $(NAME)

re:     fclean all

